<template>
  <div class="mypop">
    <van-cell is-link @click="showPopup">展示弹出层</van-cell>
    <van-popup v-model="show" position="bottom" :style="{ height: '30%' }" />
  </div>
</template>

<script>
export default {
  name: "mypop",
  data() {
    return {
      show: false,
    }
  },

  methods: {
    showPopup() {
      this.show = true
    },
  },
}
</script>

<style lang="less" scoped></style>
